package com.data.biz.service;

import com.data.biz.constant.AccTableResult;
import com.data.biz.domain.AccData;
import com.data.biz.vo.SensorVo.acc.AccGraphGroupVo;
import com.data.biz.vo.SensorVo.dip.GraphGroupVo;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface IBizAccService {


    AccTableResult getAccTableDataByPoint(Integer ponitId, String startDate, String endDate, Integer page, Integer pageSize);

    GraphGroupVo getAccDataStatistic(Integer pointId, String startDate, String endDate);

    GraphGroupVo getAccDataGroupGraph(Integer pointId, String startDate, String endDate);

    AccGraphGroupVo getAccDataGroupGraphForPR(Integer pointId, String startDate, String endDate);

    ResponseEntity<byte[]> exportAccExcel(HttpServletRequest request, HttpServletResponse response, Integer pointId, String startDate, String endDate);


    void doSaveAcc(List<String> address, List<String> data);

    void doSaveSingleAccData(AccData data, String deviceId);
}
